<?php

class Users_Profile_ReadAction extends SrsUsersBaseAction
{
	public function getCredentials()
	{
		return 'users.profile';
	}

	public function executeRead(AgaviRequestDataHolder $rd)
	{
		$user = $this->getContext()->getUser()->getCurrentUser();

		$this->setAttribute('user', $user);

		return 'Success';
	}
}